from app import db


class Tag(db.Model):
    __tablename__ = "tags"
    tag_id = db.Column(db.BigInteger, primary_key=True, nullable=False)
    tag_name = db.Column(db.String(30), nullable=False)
    parent_tag_id = db.Column(db.BigInteger, nullable=False)